﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WCS_Entity.Rcs
{
    /// <summary>
    /// RCS管理表
    /// </summary>
    [SugarTable("WCS_RcsService", TableDescription = "Rcs服务类型表")]
    public class RcsServiceEntity
    {
        /// <summary>
        /// ID
        /// </summary>
        [Display(Name = "ID")]
        [SugarColumn(ColumnDescription = "ID", IsPrimaryKey = true, IsIdentity = true)]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 id { get; set; }
        /// <summary>
        /// RCS的Ip
        /// </summary>
        [Display(Name = "RCS服务IP")]
        [SugarColumn(ColumnDescription = "RCS服务IP")]
        public string ip { get; set; }
        /// <summary>
        /// RCS的port
        /// </summary>
        [Display(Name = "RCS服务port")]
        [SugarColumn(ColumnDescription = "RCS服务port")]
        public int port { get; set; }
        /// <summary>
        /// 是否为Https
        /// </summary>
        [Display(Name = "是否为Https")]
        [SugarColumn(ColumnDescription = "是否为Https")]
        public bool isHttps { get; set; }
        /// <summary>
        /// RCS
        /// </summary>
        [Display(Name = "RCS")]
        [SugarColumn(ColumnDescription = "RCS")]
        public string rcs { get; set; }
        /// <summary>
        /// 状态[1正常2停用]
        /// </summary>
        [Display(Name = "状态[1正常2停用]")]
        [SugarColumn(ColumnDescription = "状态[1正常2停用]")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 status { get; set; }
        /// <summary>
        /// Token
        /// </summary>
        [Display(Name = "Token")]
        [SugarColumn(ColumnDescription = "Token")]
        public string serviceToken { get; set; }
        /// <summary>
        /// 预留字段1
        /// </summary>
        [SugarColumn(ColumnName = "EXTEND1")]
        public string Extend1 { get; set; }

        /// <summary>
        /// 预留字段2
        /// </summary>
        [SugarColumn(ColumnName = "EXTEND2")]
        public string Extend2 { get; set; }

        /// <summary>
        /// 预留字段3
        /// </summary>
        [SugarColumn(ColumnName = "EXTEND3")]
        public string Extend3 { get; set; }

        /// <summary>
        /// 预留字段4
        /// </summary>
        [SugarColumn(ColumnName = "EXTEND4")]
        public string Extend4 { get; set; }

        /// <summary>
        /// 预留字段5
        /// </summary>
        [SugarColumn(ColumnName = "EXTEND5")]
        public string Extend5 { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        [SugarColumn(ColumnDescription = "创建时间")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.DateTime createTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        [Display(Name = "更新时间")]
        [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
        public System.DateTime? updataTime { get; set; }
        /// <summary>
        /// 删除标志 有数据就是删除
        /// </summary>
        [Display(Name = "删除标志 有数据就是删除")]
        [SugarColumn(ColumnDescription = "删除标志 有数据就是删除")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Boolean isDelete { get; set; }
    }
}
